package org.zfm.constants;

public class BasicConstant {
    //客户端用户注册短信验证码的存储 redis key前缀
    public static final String smsRegisterKeyPrefix = "user_register_sms_";
    // 客户端用户 管理端用户 登录后用户信息与token的存储 redis 的key前缀
    public static final  String smsWechatLoginKeyPrefix = "WeChat_sms_";
    // 微信登录进行账号绑定时 用于缓存令牌的appid的前缀
    public static final String wx_bind_ = "wx_bind_";
    public static final String smsLoginCode_prefix = "smsLoginCode_";
    public static final String rePassword_sms_prefix = "smsLoginCode_";
    //系统常量
        //店铺状态
        public class  Shop{
            public static final int STATE_WAIT_AUTID = 1 ; //"待审核";
            public static final int STATE_WAIT_ACTIVE = 2 ; //"审核通过，待激活";
            public static final int STATE_ACTIVE_SUCCESS = 3 ; //"激活成功";
            public static final int STATE_REJECT_AUDIT = 4 ; //"驳回";
        }

        //员工状态
        public class Employee{
            public static final int STATE_WAIT_AUTID = -1 ; //"正常",
            public static final int STATE_NORMAL = 1 ; //"正常",
            public static final int STATE_LOCK = 2 ; //"锁定",
            public static final int STATE_LOGOUT = 3 ; //"注销"
        }

        public class shopAuditLog{
            public static final int STATE_SUCCESS = 1 ; //"审核通过",
            public static final int STATE_ERROR = 0 ; //"驳回",
        }
        public class RedisData{
            public static final String CAR_TYPE_TREE = "car_type_tree";
        }

}
